mini-os: move poor rand function to test.c
authorThomas Leonard <talex5@gmail.com>
Fri, 8 Aug 2014 15:47:32 +0000 (16:47 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Mon, 8 Sep 2014 11:15:36 +0000 (12:15 +0100)
commit7b4afdbe8199a85c4a187d4ee3763b09606df121
tree212ba6fe08834d37626ff84d883e520c8c1c3331
parent2903df843007e267a489a48f1c6ab03f7ea1d09a
mini-os: move poor rand function to test.c

It's only used by test.c and probably isn't something that should be
exposed for general use (it just calls gettimeofday).

This is also useful for ARM, which doesn't use math.c, where this used
to live.

Signed-off-by: Thomas Leonard <talex5@gmail.com>
Acked-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
extras/mini-os/lib/math.c
extras/mini-os/test.c